<?php
class Poll_Widget_NavigatorController extends Engine_Content_Widget_Abstract
{
    public function indexAction() {
        $this->view->navigation = $navigation = Engine_Api::_()->getApi('menus', 'core')
            ->getNavigation('poll_main', array (), 'poll_main_browse');
        
        $this->view->viewer = $viewer   = Engine_Api::_()->user()->getViewer(); 
    }
}
